package com.sihai.ehr.model.biz;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.sihai.core.BaseEntity;
import com.sihai.ehr.model.sys.Organization;

/**
 * 考核标准设置实体类
 * 
 * @author Henry
 * 
 */
@Entity
public class ExamQualStandardSet extends BaseEntity<Long> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7616416430559977847L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	/** 组织架构ID */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "organization_id")
	private Organization organization;

	/** 设定名称 */
	private String name;

	/** 分数上限 */
	private Float scoreStart;

	/** 分数下限 */
	private Float scoreEnd;

	/** 是否删除 */
	private boolean cancel;
	
	/** 备注 */
	private String remark;

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Float getScoreStart() {
		return scoreStart;
	}

	public void setScoreStart(Float scoreStart) {
		this.scoreStart = scoreStart;
	}

	public Float getScoreEnd() {
		return scoreEnd;
	}

	public void setScoreEnd(Float scoreEnd) {
		this.scoreEnd = scoreEnd;
	}

	public boolean isCancel() {
		return cancel;
	}

	public void setCancel(boolean cancel) {
		this.cancel = cancel;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
